package com.code.dao;

import com.code.entity.QueryPageBean;
import com.code.pojo.Ht;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

public interface HtMapper extends Mapper<Ht> {

    @Select("select a.name name ,count(a.id) value from mx a left join ht h on h.id = a.hid group by a.id")
    List<Map> tongji();

    List<Ht> findLike(QueryPageBean queryPageBean);

    List<Ht> findPageNo(QueryPageBean queryPageBean);

//    List<Map> twobzt();
}
